experiment with java nio