finished delete.
refactoring.