if you want to use exceptions don't forget about catch( ... ) in your main function