sync method & thread local