Adding events
Outout checker