adding framebuffer support