Assignment #4 Task 1 & 2