add function to make content array