Implement delete functionality