added Pinmapping