added isHome var