adding basic ingroup support (needs work)