start of support for multiple connects in input