delete button added and functional