So my homework has evolved into THIS