transform the var API