resolve #27

I've never thought `degree` to be that useful of a function to have