assignement2 completed