// improve ranges