better ranges comparing