Indices gain on back of some pillar stocks