move openport stuff to actor