formatting changes that seem to make it work