messages are now appearing on both ends
added counter code