Finished assignment #6