added exception case