Move all checks into one statement