For the sake of being consistent (see lines 51 and 66), "then" should be on the same line as your comparison.