use lastPort