Delete and edit code