Implementation of some Listeners