added epoch time function)