debug approach function