Code added for task 03