made ports configurable