assignmen2, task 1