thank you very much!
now it works
it was my mistake in variable scope! thankfully I have now successfully resolved