set and get variabes with the api is working.