created delete mark functionality