properly-insert timestamps