changing floats to doubles