added fromStringBase