added missing const to accessors and corrected return *get to get for pointer return type