working on edit and delete button functionality. not finished