it especially smarted because he had bitten the bullet and done everything by the book , had done his research , gathered information , checked out the dungeon beforehand everything had been planned and thought through and still the traitor and his master had managed to escape .