adding listenTo event to the view
removing view dependency