correct pin assignments