added equality check to example pins