adding delete functionality, not working