removed unused expose event function