How to sell based on value