Thanks for all answers, but just to clarify; what I mean with latent functions have nothing to do with multithreading whatsoever. :o) For the time being I will implement it myself. I will post a message here when I'm done. /Peter