How residential facilities are supposed to work — and how they actually do