Some code added to work towards implementing visible inventory