starting delete functionality