Works sort of, ends up with all users in one group, then division by 0