Perfect for an older dog with anxiety; it makes him feel secure when sleeping.   We just leave the door open all the time so he can come and go when he wishes.