rename timestamp to nanoTimestamp. fix math on converting ns to ms