finish ZZ implemntation + espectra