added program to test speed