atomicity and synchronized area