metadata should probably be added after language, not before.