force output to use the message function
change name of portIsNotTaken to portIsTaken, reads better.