refactor to use concat module