had an else statement in the wrong location...