working on support for multiple ports per node