configure pins