corrected group manipulation