refactor instance vending. pass format to newly created instance.