moved floats to doubles