Predict functs added and minor changes to others