added: filter query, sorting, fields to be returned.