created bookwindow, and stuff