started view inventory functions