I just scrolled through & read the code snippets. Interesting enough solution at end