respond to code review comments & add port offset convenience var