added parameter and event reference