completed exercise on if