added direction event data, set up demo for events