defining more variables with a check