Create create custom event