open/close pin