added profit to 0 when less than 1