Properly renamed randomFloat to randomDouble