inventory creation is definitely broken