debug prints dynamic search