finished assignment 1