Pulled ordinal-specific code out of GEE class into helper functions