replacing nanoTime by currentTimeMillis