add min/max/average timestamp