delete might be working correctly