added final message function to display end message