Almost finished inventory stuff