added function to read saved coords (in working)