delete trash
refactoring