...and i forgot to end the ifs