Finished assignment10