How to maximize profits