addText and addCircle functions