needed to add inventory rewrite base