Add also example using C native API