gapi somewhat working