draft of assignment 1