Changed index to show pins