delete almost working