use nanoseconds instead of seconds