refactor the interpolation component to have utils functions such as text and attributes