improved program running time