he took everything in his stride and even did his guard duty with a smile ; a difficult thing to do when you had very little sleep and then only on three wooden planks , a few inches off the floor of the guardroom .