fixes #23 PS! Subgroups still not tested