Delete all unneccessary codes