get the coords

its asynchronous
callback
separate the functions