compiles again, added a draft exportImage class