remove unneccessary use of event variable