api call getlookahead