finished exercises 1-5