Refactor, moving  insert function into a string utility module.