wrapping up
add exception testing