Changed colname.name to col.name