removing unnecessary pointer