Implement AddText procedure