Adding primitive partner mapping function
implementing primitive partner mapping functions