finished assignment 10