FG hw2 task4 added