raise exception code added