modified groups so that it will work with our investigations plugin