Added get_max_profit alternative