modifying port list