separated out header file from gladbooks.c