mapping for pointer types