bpm calculator and sync now working