Don't use "list" as a variable name, use "field_list" or something.