finish a challenge exercise in lab2