edited to work outside of bcf