added more stuff to Library class