this if seems to be obsolete since the iteration will just not happen if it is empty?