made exception raises more clear and to provide reg values