Looking beyond the next token