small change in pins index