Q added findCoord function