refactor etcdread