storing coordinates and generated arrays