added new conditional code as lesson 03