removed mask from makeA, b, and D.