working on cp_online_prediction()