thanks for that suggestion, but i think i'll go for the option of using one sub that handles the cleaning up of objects.