bam2x demos working version