remove need for pexpect