* added support for multi instances
* still only a proof of concept