observer are proto object not function