closes the range