pin controller