lock this thread.........