added delete button and other stuff