modified the range indicator