ranged.cpp reversion