basic inventory implemented