Untitled

Added some error handling.