working on assignment 1