finish working on task1a and task1b - working fine