add auto headings for array