code formatting correction