Fixed operations on port
Merge pull request #4 from zajonc5/master

Fixed operations on port