removed unnecessary pointer