You should not be using nanoTime here.