moved code for MoperatorZZ up for improved logic