Changed MBState to statically importet