b and g must be aligned