Setting up conditionals assignment