there must be a way to instantiate two (or more) state machine within a single .rl source file. thanks -- Et nunc, auxilium solis, vincam! Oppugnatio solaris! VIS! Massimiliano Cialdi cia... at gmail.com massimiliano.cia... at powersoft.it