Completed the excercises