added pin reporting control
minor adjustments