code to accompany articles posted on thetechnaddict.com