trying to use promise
Get the freq list from the API