added support for multiple servers