Where did a preist sleep in middle ages?