first draft of homework 3