-updated logic
-error report for exception scenario