Added limit to range