Tweaked assignment #2.