Node rewrite of mpct