using k8clock() instead of clock()