You might also want to go through and take a good look at where you may be able to optimize your code a little yourself. For instance, I found that if you use printf() anywhere in the program, it may be better to use that than putc(). I have also found other minor things that can save a few instructions here and there, such as rearranging the order of operations or simplifying statements. Shawn's suggestion of using #separate is also a good idea, especially if you have one huge function you only call once. If that's tha case, though, you may want to look again and see if that function can be split up into smaller functions. It may well make code maintenance easier too. Dale --- We are Dyslexia of Borg. Fusistance is retile. Your ass will be laminated. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.