trying to fix issue #1
trying on multi thread
pure controller, previous commit on multithread