Take profit when there is a gain