added zookeeper checks