Combined if statements for non-shittery