A backup of small code sample that I later uploaded to codepen