added time_precision for writes