Add a portmapping method to map degrees