simplified number type hierarchy for simpler parsing