call to resultsNames(dds) was in wrong place