Browser was still caching old code. Added in different console log to check whether all pins are making it into the iterator function.