adding in one more synchronized statement