Beginnings of NIO implementation