modify the rspec for book and reousece