first draft of assignment1