finished debugging milestone 1