i declare this thread locked