Bob exercise | 1st iteration