Use range instead of enumFrom