almost got delete working