Merge pull request #4 from yotamhc/in_ports_masked2

In ports masked2