adding user define, wrote some specs, still have some failing. Unsure about requiring Group[$groups]