Modified InvenUtils to account for data types