it adds a new option called collection which (false if there is no collection) displays the empty collection message on the templates