Update pinselection

rewritten pinselection.py