pins assignment