added range handler