first pass at assignment one