replacing nanoTime by currentTimeMillis
adding hascode jar