add max profit