part 1 of creating events