Changed these back from double to floats.