Put protection around shared variables