why cast to ``list``?