@Override
    public int pulse() {
        int digit = getDigitToTypeIndex();
        if (digit != -1) {
            Widget click = getEnterDigit(bankPin[digit]);
            if (click.isValid()) {
                click.click();
                sleep(1000, 1500);
            } else {
                requestExit();
                sleep(1000, 1500);
            }
        }
        if (!isPinWindowOpen()) {
            requestExit();
            sleep(1000, 1500);
        }
        return random(150, 200);
    }