added one more exception handling case