interim commit for flipping to the new events and nio