slight tweak to random doubles set