Throw some brackets around these ifs and elses