Trash functionality added