added time stamping