added connection support
Added connections support