move prob prediction to end