make the lookahead ajustabale from the UI