adding hangout logic