a counter for keeping score and adjusted some formatting