changed it to store current timestamp