removing synchronized blocks