refactor for the new BAM-Rom