Changed events to resuse asingleboxforall events to improve speed.