code formatting and semantic changes