Homework #1 re-submission by Neil Spencer