inventory works now, but not entirely as  expected :-)