rewriting share del functions into a single function

- initial code commit

Signed-off-by: Robert Tipton <tret@tretflix.com>