adding conditionals