Jeremy, something you should do right away is put a "use strict; use warnings;" at the top of your program. You should formally declare $bOrder. Also, as abez said, you probably need to call an IPHelper function that has 'Free' or 'Unallocate' or similar, if there is one, passing each array element that the Allocate function returned. -- Darren Duncan