make type field optional