Samples of code for mr-kody.blogspot.com