index to coord
main merge