use ranges
remove crap testing