I don't think you actually need the if (if its empty it just won't iterate over anything)...but no biggie