port to int