Added membership and engagement on functions