coded a little bit at the inventory screen