setup pin