Changed openBook function sygnature