adding ranges to existing code