duration and bpm is working