Function addDownIndicesToAttributes