void putSeed(long x) {
        char ok = 0;

        if (x > 0) {
            x = x % MODULUS;                       /* correct if x is too large  */
        } else if (x < 0) {
            x = ((long) System.currentTimeMillis()) % MODULUS;
        } else if (x == 0) {                                
            while (ok != 1) {
                System.out.println("\nEnter a positive integer seed (9 digits or less) >> ");

                try {
                    BufferedReader bufferRead = new BufferedReader(new InputStreamReader(System.in));
                    String userInputString = bufferRead.readLine();
                    x = Integer.parseInt(userInputString);
                } catch (java.lang.NumberFormatException e) {
                    ok = 0;
                    System.out.println("\nInvalid Input (too big or non-numerical)\n");
                    continue;
                } catch (IOException e) {
                    ok = 0;
                    System.out.println("\nThere was an issue reading from the input stream\n");
                    continue;
                }

                if((0 < x) && (x < MODULUS)) {
                    ok = 1;
                } else {
                    ok = 0;
                    System.out.println("\nInput out of range ... try again\n");
                }
            }
        }
        seed[stream] = x;
    }