bare algorithm to populate events array from service