created a widget called Display Events