added function for X-Y coordinate correlation
updated locations