added z lag