event object listen to functionality