finished assignment #1