debugging listeners