adding reciever interface (listener for events)