typo and bad whitespace
ignore comments
it might be more puppety to just use the empty array, rather than absent, plus fixes the unit test
some clean up around service attribute
fix indexes for unit test