add running time to ks
rework punchcard api