Wrote some exceptions