def homes, state setter