use synchconsole as static variable
delete in the cleanup