create type column for candidates