MIST-24: add delete function