Ex.2

Updated Ex2:
- fixed event-related stuff;
- tested again;