complete Task 2 and 3