By the way, in order to successfully refactor your code, you need to use a file versioning system. Subversion/TortoiseSVN are the de facto standard, and are relatively easy to install and use on any PC. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist