started working with the listener