setting up conditionals