example of watching directory service