replace getName() with names() which allows multiple strings as well as
conforming to lower case convention