focus, hospital, and text states work