Bam class