adding some additional trace debugging