now with correct clock frequency.