as usual if statements and my logic are failing me.