task-2 final version