reference z_supervisor instead of supervisor