"added delete functionality and logic for it"