edits to glib