get pins mapping