Developing assignment 2