Anuj Verma Sat, 23 May 2020 03:20:46 -0700
A callback function would be definitely much better and simpler than my solution.
Anuj