did some work to test on bams