also check upper range