working on XCFPlugin