it is possible to realize this class using smaller threads than ports