assigment 3 partly done