before pointer type change