finished setting up code for code review