added cleanTrash function