* added support for multi instances