added first draft of bprmf implementation