main compiles, ready for bs