Is there a way to generate this? It would be much more readable.