change the way time was retrieved