new exception handeling for ranges

some more

some more and docs