COGS 187A Homework 5 Redesign