Add random double generator