[WIP] inventory helper