changed SystemMilliSeconds to SystemNanoSeconds