Hi Andy, Here's an improved implementation, incorporating your excellent feedback and also implementing thread-local gensym counters, thus eliminating the mutex altogether. What do you think? Thanks! Mark