added structure for keeping score