added drawText method