use own zk and glog