added answers from exercise