the process of destroying the main