second parameter of 'list' must be a tuple or list