delete() helper function set up.