changed hookFreq to 5000