started implementation of task 2