Implemented listener in Slave