extact books into separate var