It is possible to extend this to a non-abelian gauge theory with a gauge group G , where we couple the scalar Klein–Gordon action to a Yang–Mills Lagrangian. Here, the field is actually vector-valued, but is still described as a scalar field: the scalar describes its transformation under space-time transformations, but not its transformation under the action of the gauge group.