Modified the z2 further into a method "adjust_center"