Fixed compile errors, finished addGroupToEvent