moved an unlogical sentince