example to get info from inventory