Chris #12 - fixes undefined name issue