Timer function

thanks for the suggestions…
however now it works… but I’ll improve the code according your indications…