listening to propevent