made bpm output optional