default language logic added