some code formatting updates