changing parent:: to $this-> for clarity