first complete draft of homework 6