WIP rewrite gem groups