Added if, else if, and else variables