changed var from $list to $container