accepting OriginCode and DestinationCode