implemented trash.