Added tasks related code and commented out the print statements for now