added the pinmapping