added program runtime to measure time