it was tedious to go over the same things again and again , but it kept scarpa 's mind occupied , and when his attention was firmly fixed on the ceremonies and practices of the imperial court in matherion he was not thinking of ways to make life unbearable for his captives .