now the structure notifies correctly