random degree