add generic pointer type