ugettex func added