changed boundary ranges; working