added typerex2 and autocomplete