added in history items, formatting for category groups