Working with listener.