New Algorithm predicts future