what happens if `entities` is empty?