refactored parser (moved year to next-to-last index) and refactored subgroup