changed run time measurement