working on adding delete functionality