bam implementations