FG hw2 task 6 added