See http://www.hackology.co.uk/projects/smartie/