@Override
    public int[] getSettingsForExperiment() {

        System.out.printf("\n\t%s", "Welcome to Sorting Algorithm experiment.");
        setPause(2);

        // determine the amount of list
        System.out.printf("\n%s", "Please enter the amount of numbers to be tested: \n");
        scanner = new Scanner(System.in);
        settings[0] = scanner.nextInt();
        System.out.printf("\n%s: %d", "Amount", settings[0]);
        setPause(2);

        // determine the maxRange of list
        System.out.printf("\n%s", "Please enter the max range: \n");
        settings[1] = scanner.nextInt();
        if (settings[1] >= settings[0]) {
            System.out.printf("\n%s: %d", "MaxRange", settings[1]);
            setPause(2);
        } else {
            System.out.printf("\n%s", "Max range must be bigger or equal to amount: ");
            getSettingsForExperiment();
        }

        // determine the amount of iterations
        System.out.printf("\n%s", "Please enter the amount of iterations: \n");
        settings[2] = scanner.nextInt();
        System.out.printf("\n%s: %d", "iterations", settings[2]);
        setPause(2);

        if (scanner != null) {
            scanner.close();
        }
        return settings;
    }