unnecessary pointer removal