Ranged value
Reworking encoder