working on multi-instance config