slightly more proper way to handle exceptions with SomeExcpetion