added hw3.task6