Add delete function, plus example