type(list) changed to type(list())