amend to store epoch time