missing ranges solution added