using mcs to build