got delete button to work and flashes