Use nanotime instead of currentMillis