added prediction of the path