add planarity and B0. This is untested.