should be "else if"

not sure if this changes anything to do with #20, but it might