add type definition