my entry for a programming contest on the Indie Vault forum - just for fun!