Thank you for all helpful responces. How ever, I still don't understand how to use the "poll" function. What arguments should I give and what does it actually? Thanks in advance, Tage