Added exceptions
First compile