move addText function into canvasService