do not autocreate groups that would be empty ; added start and end time to output