Lab2: Task 1 & 2