updated work with text