Added Language detection