added preliminary fbo code