@FaultyBagnose I have asked this question at the time of using idea similar to yours.
I hope it helps.