generate_bc works now, hash is removed as it only checks once..