changed var maxMessageLength = 16; from 0