added end notificitaion code

Added a more detailed message.