start of code for conditionals personal