pushChild in getTextImage due to execessive repetition