enabling semantic mode