adding nicholas's work from last week