finished assginment 2