G-api functioning