eamples to explain how gdk works.