working on assignment 7.3