add distinct and summed options