some forgotten pieces for get coords functions