working on a framebuffer example