Implements addToResults with list input.