click to switch the example... and that's it!
credits to @griffpatch, for inspiring some of my implementations