hrf_model was declared but never used