double thought = ((double)rand() / (double)(MAX_RAND + 1));