updated events and added examples