added basic events
almost done