last retrieve and delete function in progress