This is why i hate long if statements grrr