moved here from hurwitz's theorem