put all code in mca