added restor inventory; needs socket streaming added