new function initialization to fit xray thr scan
pg not yet reset, tbf