removed unused arrays