public void waitForCommand() {
        System.out.print("Command: ");
        try {
            processCommand(in.readLine().toLowerCase());
        } catch (Exception e) {
            System.err.println(e);
        }
        System.out.println();
    }