first draft of assignment 1