tried to make port messaging working but it isn't