Generalized to work for all ridings