Moved groups argument to fit