Adding some event bindings