Pin's logic in the full scale pic added.