logsum works!