added trash support