Finished the first stage. Adding events.