added ports list func