Adding addText method