added notification on failure