add type pointer