First working version, hardcoded to 10 Hz