extracted replace tag to new method
broke up style call method