finally the profit is working now