Note that I pass Frame object's reference
There is better (and more cryptic) way to achieve same objective.
Since program was designed for clarity,