some error handling on years and subfields
added field groupid not sure to use it