replaced context.Q_z