add some coords functions