FG hw2 task5 added