both: using raw pointers of observer in class