learning to use xcb