updated procs to unix_timestamp