added generateName