chage for exception handling.