working on task1.b