working with the zlog