finish the numerization of discrete features and transformer returning