tried to indroduce threading and failed. a fix is on the queue