getNames() has to return a list