I think you should examine the ".c" and ".h" files generated by the KCL compiler. Also, if you do not proclaim the safety as 0 and speed 3 then the compiler will use its default settings. You should certainly see a speed difference in favour of code with proper declarations. Please try again and let me know how it turns out. Paul Harmon