predict and get rewards