trying bunch of if statements