@tom

This is what I am trying to implement
But what do you mean “spell out”.
How should I handle this case? Can you please explain in detail
Can you suggest a cleaner way to do this?
I will clean the code for broadcasting as you said once it works