Attempt to simplify if statements