Implemetation of ZZW analysis