final message and counting fixed