Add synchronized block