delete button fully functional