Added exception code..