Changed from pid to epoch time