removed unused arrays.