Added direct function call for Delete