added content groups header and footer to array