Delete Main code