Some progress for XCB implementation