adding method get_groups
Merge branch 'release/4.0.3'