made e refer to the target element