added rbfi and more control to the beat-test patch