C-API stack example added