Lookahead scheduling