add question of flattening a list