add frame buffer example