add example inspired by zookeeper