Code added for task07