finally correctly figured out delete