reduced pexpect requirement