code formatting changes with switch to AppCode