Homework 2 spec