Return function working, Inventory pages displaying as desired