using the right gapi var