Added SeverCoord fucntion and findcoord debug