add basic zookeeper function