If statement slows down, split them up