this is exercise 1 - with an if

added this