Scratchpad:Range calculator