refactored MDBListeners