using lang during api call