Added array_of_empties function