add check for CDS list size