starting the glib part