Can you provide an inline comment about what exactly this does? It is not clear what it is doing.