added listeners() method