Added more port functionalities