Delete MainCode