modified main to support multiple event kits