Converting to indexpage array.