changed these to convert to nanos so doubles are handled.  nice spot.