add port method