+logging coords to file