Code added by Sumeet for Task1