had to rename column, type is a reserved word