way to get maximum profit