beginning of create event code
gil's commit