trying to add more precision to clock functions