Added vaguely clunky delete mechanism