now it's time to debug thread