change coords to floats