added support for multiple connections
added docs for multi connections