refactored tracing predictor