documented parameters and added acceptance testing for ports