code cleanup part 1 for createOtherEvents()