hw3 - tasks 5-6 added