update docs
fix name
add exception handling