Done

> Also, since performed in a loop, these will overwrite each other. Is this the intention?
Sorry I couldn't get what you mean. What are 'these' here?