changed arrays to atom_arrays