merged calibration code with fact tracking ui display