Conditionals Personal

added "if" code to loop