Caring for the mentally impaired elderly