trying to extract code from book directory
code now gets extracted correctly