added example problem number 2