adding api attributes var